﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;
using System.Threading;
using System.Web;
using Core.Dtos;
using System.Security.Claims;
using Core.Context;

namespace Core.Presentation
{
    public class CurrentContext : ICurrentContext
    {
        public CurrentContext()
        {
        }

        public string UserId
        {
            get { return "5f76d04b-8146-4e1b-96df-0dd92fd43aae"; }
        }
        public string UserName
        {
            get { return "demo"; }
        }

        public bool IsAuthenticated
        {
            get { return true; }
        }

        public string Culture
        {
            get { return "en-GB"; }
        }

        public bool IsInRole(string role)
        {
            return true;
        }

        public IList<string> GetRoles()
        {
            return new List<string>() { "Admin"};
        }

        public CurrentContextMemento CreateMemento()
        {
            return null;
        }
    }
}